home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / utils / init / globals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  1.2 KB  |  51 lines

  1.  
  2. /*
  3.  *    globals.c    - global variable declarations
  4.  *
  5.  *    Globals used all over the place should be declared here and not
  6.  *    in other modules.  This reduces the number of modules included
  7.  *    from cinterface.a during linking.
  8.  */
  9.  
  10. #include <fcntl.h>
  11. #include <stdio.h>
  12. #include <strings.h>
  13. #include <sys/file.h>
  14. #include <sys/types.h>
  15. #include <math.h>
  16.  
  17. /* #include <signal.h> */
  18.  
  19. #include "tmp/postgres.h"
  20.  
  21. RcsId("$Header: /private/postgres/src/utils/init/RCS/globals.c,v 1.11 1992/06/10 05:05:55 mer Exp $");
  22.  
  23. #include "access/heapam.h"
  24. #include "access/tqual.h"
  25. #include "storage/sinval.h"
  26. #include "storage/sinvaladt.h"
  27. #include "storage/lmgr.h"
  28. #include "support/master.h"
  29. #include "utils/log.h"
  30.  
  31. #include "catalog/catname.h"
  32.  
  33. int Debugfile, Ttyfile;
  34. int Portfd;
  35. int Noversion = 0;
  36.  
  37. BackendId    MyBackendId;
  38. BackendTag    MyBackendTag;
  39. NameData    MyDatabaseNameData;
  40. Name        MyDatabaseName = &MyDatabaseNameData;
  41. bool        MyDatabaseIdIsInitialized = false;
  42. ObjectId    MyDatabaseId = InvalidObjectId;
  43. bool        TransactionInitWasProcessed = false;
  44.  
  45. bool        IsUnderPostmaster = false;
  46. bool        IsPostmaster = false;
  47.  
  48. /*struct        bcommon Ident;   moved to dlog (Obsolete 2/22/91 mer) */
  49. short        DebugLvl;
  50.  
  51.